Skip to content

Conversation

getChan
Copy link
Contributor

@getChan getChan commented Oct 8, 2025

Which issue does this PR close?

Rationale for this change

ParquetSource currently defines a custom predicate() method whose behavior overlaps with the filter() method in the FileSource trait. This duplication makes the API harder to understand.
Suggest deprecating predicate() and relying on filter() for a single, consistent entry point.

What changes are included in this PR?

deprecating predicate()

Are these changes tested?

unit tested

Are there any user-facing changes?

deprecating predicate() public method

@github-actions github-actions bot added proto Related to proto crate datasource Changes to the datasource crate labels Oct 8, 2025
@getChan getChan marked this pull request as ready for review October 8, 2025 16:51
@getChan getChan changed the title refactor : remove ParquetSource filter merge into predicate refactor : deprecate ParquetSource::predicate() and merge into FileSource::filter() Oct 8, 2025
@xudong963 xudong963 added the api change Changes the API exposed to users of the crate label Oct 11, 2025
@alamb
Copy link
Contributor

alamb commented Oct 11, 2025

Thanks @getChan and @xudong963

@alamb alamb added this pull request to the merge queue Oct 11, 2025
Merged via the queue into apache:main with commit fd3ccf8 Oct 11, 2025
28 checks passed
@adriangb
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api change Changes the API exposed to users of the crate datasource Changes to the datasource crate proto Related to proto crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants